Many of us use good OpenSSH as a replacement for old telnet and rsh commands, and OpenSSH are not only secure but also encrypted.One of the more appealing features of OpenSSH is its ability to authenticate users with RSA and DSA authentication
The OpenSSH RSA and DSA authentication protocol is based on a pair of specially generated keys, called private keys and public keys, respectively. The advantage of using these key-based authentication systems is that in many cases it is possible to
SSH Remote connection command:Usage format:ssh ipaddr does not specify the user to log on to the remote host as the user of the current host login systemssh [email protected] telnet to a host as a user via SSH protocolusage:ssh [email protected]
Linux scp to copy files, do not need to enter a password, linuxscp
Scp is short for securecopy. It is used to remotely copy files in Linux. Similar Commands include cp, but cp only Copies files on the local machine and cannot be copied across
Using the SCP command under LinuxThe SCP is the abbreviation for secure copy Protocol, as well as the copy (CP) commands known to many Linux/unix users. SCP is used in a manner similar to the CP command, where a CP command copies a file or folder
Scp execution in the Linux background and scp execution in the linux background
Recently, it takes a long time for a large scp file to be completely down on a remote machine. After executing the command using xshell, it cannot be closed. Otherwise,
The SCP command is similar to the CP command, except that the CP command is used on the same machine, and the SCP command is copied on two machines.
Example:Copy remote server files to localSCP-P 999 root@21andy.com:/home/test.zip/home/
Copy the
Reason: The company is based on the key login, although there are firewalls and other devices, and does not allow root direct login and do not allow password login. Because the company's network is not good, there is a need to copy one time 2
Use of SCP
Replicate from local to remoteCommand basic format:SCP [Optional parameters] Local filename remote user name @ Remote address: Remote file or directory
Copy file Example:
Scp/home/backup.zip
In Linux, copy files remotely using scp-Linux Enterprise Application-Linux server application information. The following is a detailed description. Use "scp" to copy an object
SSH provides instructions and shell for logging on to the remote server.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.